import React from 'react';
import type { MenuProps } from 'antd';
import { FileSearchOutlined, MonitorOutlined } from '@ant-design/icons';

type MenuItem = Required<MenuProps>['items'][number];

export const systemMenu: MenuItem[] = [
  {
    key: '/system/log-management',
    icon: React.createElement(FileSearchOutlined),
    label: '日志管理',
    children: [
      {
        key: '/system/operation-log',
        label: '操作日志管理'
      },
      {
        key: '/system/interface-log',
        label: '接口日志管理'
      }
    ]
  },
  {
    key: '/system/monitor-management',
    icon: React.createElement(MonitorOutlined),
    label: '运行监测管理',
    children: [
      {
        key: '/system/resource-monitor',
        label: '运行资源监测'
      },
      {
        key: '/system/service-monitor',
        label: '系统服务监测'
      }
    ]
  }
]; 